<?php
use \Sy;
use \blog\libs\BHtml;
use \blog\libs\option;
if (!class_exists('Sy')) {
	exit;
}
?>
	<?php
	if (isset($article)) {
		$description = mb_substr($article->body, 0, 50);
		$keywords = $article->tags;
	} else {
		$description = option::get('description');
		$description = option::get('keyword');
	}
	BHtml::meta(['name|viewport' => 'width=device-width, initial-scale=1', 'name|description' => $description, 'name|keywords' => $keyword]);
	?>
	<?=BHtml::css('@root/public/css/materialize.min.css')?>
	<?=BHtml::css('@root/public/css/style.css')?>